<template>
    <div>
        <h4>demo</h4>
    </div>
</template>

<script setup>

</script>
<style lang="less" scoped>
.box {
    width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

button {
    margin-right: 10px;
}
</style>